package com.cn.service.server.TechnologicalStandard;

import com.cn.bean.pojo.TechnologicalStandard.GrindingProcessStandardMain;
import com.cn.bean.pojo.TechnologicalStandard.ProductRollerRoughnessSettingMain;
import com.cn.bean.pojo.TechnologicalStandard.ProductRollerRoughnessSettingSub;
import com.cn.bean.pojo.TechnologicalStandard.ReplacementCategory;
import com.cn.config.config.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductRollerRoughnessSettingMainService {
    List<ProductRollerRoughnessSettingMain> selectReplaceProcessStandards(int page, int limit, String equipmentStructure);

    Result addReplaceProcessStandards( ProductRollerRoughnessSettingMain grindingProcessStandardMain, List<ProductRollerRoughnessSettingSub> replacementCategoryList);

    List<ProductRollerRoughnessSettingMain> selectReplaceProcessStandardsId(int id);

    Result deleteGrindingProcessStandardMain(List<ProductRollerRoughnessSettingMain> idList);

    Result updateGrindingProcessStandardMain(ProductRollerRoughnessSettingMain grindingProcessStandardMain,
                                             List<ProductRollerRoughnessSettingSub> replacementCategoryList);

    Result updateShGrindingProcessStandardMain(List<ProductRollerRoughnessSettingMain> grindingProcessStandardMainList, int state, String reviewer, String reviewerID, String reviewTime);

}